package com.jaux.hotel.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.jaux.hotel.pojo.Student;

import java.util.List;

/**
 * @author JAUX
 */
public interface StudentMapper extends BaseMapper<Student> {
    public Student selectStudentById(Long stuNum);

    public List<Student> selectStudentList();

    public void deleteStudentById(Long stuNum);

    public int insertStudentInfo(Student student);

    public int updateStudentById(int stuNum, String name);

    public Student login(int stuNum, String password);
}
